package com.choosefine.it.manager.dao;

import java.util.Map;

import com.choosefine.it.manager.model.ManagerTeamCollection;
import com.github.pagehelper.Page;

public interface ManagerTeamCollectionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ManagerTeamCollection record);

    int insertSelective(ManagerTeamCollection record);

    ManagerTeamCollection selectByPrimaryKey(Integer id);



    int updateByPrimaryKey(ManagerTeamCollection record);
    
    Page<ManagerTeamCollection> selectByUserCode(String userCode);
    
    ManagerTeamCollection selectTeamFindProjectListById(Integer publishId);
    //判断是否是第二次收藏
    ManagerTeamCollection selectByManagerUserCodeAndPublishId(Map<String, Object> params);
    
    int colletTeamAgain(Map<String, Object> params);
    //判斷是否重複收藏
    ManagerTeamCollection selectManagerTeamCollectionIsRepeat(Map<String, Object> params);
}